Skip to content

Fix #485: Reject invalid args and allow positional args - #503

Merged
Leonard Hecker (lhecker) merged 4 commits into
microsoft:mainfrom
spinualexandru:reject-invalid-args
Aug 12, 2025
Merged

Leonard Hecker (lhecker) merged 4 commits into
microsoft:mainfrom
spinualexandru:reject-invalid-args

Conversation

@spinualexandru

@spinualexandru Alex Spînu (spinualexandru) commented Jun 20, 2025 •

Copy link
Copy Markdown
Contributor
  • Added rejections for invalid arguments
  • Added positional arguments so in case you are running "edit -- -?" it will allow you to create a file called "-?"

Closes #485

@lhecker

Leonard Hecker (lhecker) commented Aug 12, 2025 •

Copy link
Copy Markdown
Member

While I think that your PR generally went into the right direction, I've reduced its complexity a bit to address the issue first, by removing the logic to reject invalid arguments.

@lhecker
Leonard Hecker (lhecker) merged commit f17552c into microsoft:main Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

On Linux edit -? creates a file named -?

3 participants